/**
 * 合账办理首页
 */
(function ($) {
    $(function () {
        var urlParams = getParams();
        if (urlParams) {
            urlParams = "?" + urlParams;
        } else {
            urlParams = "";
        }
        //合账办理跳转按钮
        $("#amalgamate").on("click", function () {
            var paramsWithoutShare = getParams(true);
            if (paramsWithoutShare) {
                paramsWithoutShare = "?" + paramsWithoutShare;
            } else {
                paramsWithoutShare = "";
            }
            window.location.href = "amalgamate.html" + paramsWithoutShare;
        });
        //营销活动跳转按钮
        $("#activity").on("click", function () {
            //window.location.href = "http://120.24.49.23:6080/dpr/go/forward?uri=dzg/activity_llw" + "&" +getParams();
            window.location.href = "../../dist/activity.html" + "?canAppShare=1&act_type=3&" +getParams();
        });

    });
})(jQuery);